<?php
echo "<?php\n";
$nameColumn=$this->guessNameColumn($this->tableSchema->columns);
?>
    $this->getNotice();
    $this->actionTitle = 'Manager'.': '.'View '.' "'.$model->id.'"';
    $this->menu=array(
        array(
            'label'         => Yii::t('system', 'Менеджер'),
            'url'           => array('admin'),
            'type'          => 'info',
            'icon'          => 'icon-th-large icon-white',
            ),
        array(
            'label'         => Yii::t('system', 'Создать'),
            'url'           => array('create'),
            'type'          => 'info',
            'icon'          => 'icon-plus icon-white',
            ),
        array(
            'label'         => Yii::t('system', 'Обновить'),
            'url'           => array('update','id'=>$model->id),
            'type'          => 'info',
            'icon'          => 'icon-retweet icon-white',            
            ),
        array(
            'label'         => Yii::t('system', 'Удалить'),
            'url'           => '#',
            'type'          => 'danger',
            'icon'          => 'icon-remove icon-white',   
            'linkOptions'   => array(
                'submit'  => array('delete','id'=>$model->id),
                'confirm' => 'Are you sure to delete this item?'
            ),
            ),
    );
    
    $this->widget('bootstrap.widgets.TbDetailView',array(
	'data'=>$model,
        'type'=>'striped bordered condensed',
	'attributes'=>array(
<?php
foreach($this->tableSchema->columns as $column)
	echo "\t\t'".$column->name."',\n";
?>
	),
)); ?>